package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    Page<Setmeal> selectPage(Page<Setmeal> page, String name);

    void add(Setmeal setmeal);

    void deleteByIds(Long[] ids);

    void updateStatus(Integer status, Long[] ids);

    Setmeal findById(Long id);

    void updateSetmeal(Setmeal setmeal);

    List<Setmeal> selectByCategoryId(Long categoryId, Integer status);
}
